package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.*;
    import com.evony.common.module.visit.*;
    
    public class VisitCommands extends Object
    {
        public function VisitCommands()
        {
            super();
            return;
        }

        public function helpIncreaseProduction(arg1:String, arg2:String, arg3:Function=null):com.evony.common.module.CommandResponse
        {
            this._helpIncreaseProduction_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).fromServer = arg1;
            loc1.fromPlayer = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("visit.helpIncreaseProduction", loc1);
            }
            return null;
        }

        public function deleteComment(arg1:int, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._deleteComment_callback = arg2;
            var loc1:*=new Object();
            loc1.id = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("visit.deleteComment", loc1);
            }
            return null;
        }

        public function getVisitorComments(arg1:String, arg2:int, arg3:int, arg4:Function=null):com.evony.common.module.visit.GetAllVisitorCommentsResponse
        {
            this._getVisitorComments_callback = arg4;
            var loc1:*;
            (loc1 = new Object()).visitorId = arg1;
            loc1.pageNo = arg2;
            loc1.pageSize = arg3;
            if (this.sender != null) 
            {
                sender.sendMessage("visit.getVisitorComments", loc1);
            }
            return null;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public function visitorComment(arg1:String, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._visitorComment_callback = arg2;
            var loc1:*=new Object();
            loc1.comment = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("visit.visitorComment", loc1);
            }
            return null;
        }

        public function getAllVisitorComments(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.visit.GetAllVisitorCommentsResponse
        {
            this._getAllVisitorComments_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).pageNo = arg1;
            loc1.pageSize = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("visit.getAllVisitorComments", loc1);
            }
            return null;
        }

        public function markCommentAsRead(arg1:int, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._markCommentAsRead_callback = arg2;
            var loc1:*=new Object();
            loc1.id = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("visit.markCommentAsRead", loc1);
            }
            return null;
        }

        public function getHelpedPlayers(arg1:Function=null):com.evony.common.module.visit.GetHelpedPlayersResponse
        {
            this._getHelpedPlayers_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("visit.getHelpedPlayers", loc1);
            }
            return null;
        }

        public var _getVisitorComments_callback:Function;

        public var _getHelpedPlayers_callback:Function;

        public var _helpIncreaseProduction_callback:Function;

        public var _getAllVisitorComments_callback:Function;

        public var _deleteComment_callback:Function;

        public var _markCommentAsRead_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _visitorComment_callback:Function;
    }
}
